#Author:Xu Yirong
# card = int(input("请输入数字："))
# print(type(card))
# while True:
#     user_guess = int(input("你猜，我猜，不猜："))
#     if card == user_guess:
#         print("哦吼，居然猜对了")
#         break
#     elif card > user_guess:
#         print("敢敢，大一点！")
#     else:
#         print("不要猜这么大啦！")


import getpass
card = int(getpass.getpass("请输入数字："))
print(type(card))
count = 0

while True:
    if count <3:
        user_guess = int(input("你猜，我猜，不猜："))
        print(type(user_guess))
        if card == user_guess:
           print("哦吼，居然猜对了")
           break
        elif card > user_guess:
           print("敢敢，大一点！")
        else:
           print("不要猜这么大啦！")
    else:
        print("你是猪吗")
        break
    count = count+1